IF NOT EXISTS (SELECT * FROM master.dbo.syslogins WHERE loginname = N'reportman')
CREATE LOGIN [reportman] WITH PASSWORD = 'p@ssw0rd'
GO
CREATE USER [reportman] FOR LOGIN [reportman] WITH DEFAULT_SCHEMA=[db_owner]
GO
GRANT CONNECT TO [reportman]
